package com.weyoung.common.utils;

public class RedisConstants {
    // 家庭相关
    public static final String FAMILY_MOTTO_KEY = "family:motto:";
    public static final Long FAMILY_MOTTO_EXPIRE_TIME = 10L;
    public static final String FAMILY_CULTURE_KEY = "family:culture:";
    public static final Long FAMILY_CULTURE_EXPIRE_TIME = 10L;
    public static final String FAMILY_CULTURE_LIST_KEY = "family:culture:list:";
    public static final Long FAMILY_CULTURE_LIST_EXPIRE_TIME = 15L;

    // 墓地相关
    public static final String GRAVE_VISITING_NODE_KEY = "grave:visiting:node:";
    public static final Long GRAVE_VISITING_NODE_EXPIRE_TIME = 10L;
    public static final String GRAVE_VISITING_NODE_LIST_KEY = "grave:visiting:node:list:";
    public static final Long GRAVE_VISITING_NODE_LIST_EXPIRE_TIME = 15L;

    // 缓存穿透空值过期时间
    public static final Long NULL_EXPIRE_TIME = 5L;
}
